package cn.com.headfree.expert.dao;

import cn.com.headfree.entity.TDeclareExpertInfo;
import cn.com.headfree.entity.TSalaryInfo;
import cn.com.headfree.entity.isc.User;
import com.gta.edu.sdk.common.dto.Page;

import java.util.List;

/**
 * @Description: TODO
 * @Author wcSun
 * @Date 2022/6/28
 **/
public interface IDeclareExpertDao {

    void saveDeclareExpertInfo(TDeclareExpertInfo declareExpertInfo);

    List<TDeclareExpertInfo> judge(TDeclareExpertInfo tDeclareExpertInfo);

    void getPageTDeclareExpertInfo(Page<TDeclareExpertInfo> page, String year, User user);

    void updateDeclareExpertState(String id, String state,String auditOpt);

    void deleteDeclareExpertInfo(String declareExpertId);

    void getPageDeclareExpertInfoQuery(Page<TDeclareExpertInfo> page,String baseOrgId,  String deptId,String userName, String erpNo, Integer year, String auditStatus);

    List<TDeclareExpertInfo> getListSalaryInfoQuery(String baseOrgId, String deptId,String userName, String erpNo, Integer year, String auditStatus);

    TDeclareExpertInfo getTDeclareExpertInfoById(String id);
}
